package com.app.websocket.vo;/**
 * @program: app-admin
 * @name PatientMessageVo
 * @description: 患者监测数据
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 *@author:
 *@program: app-admin
 *@name PatientMessageVo
 *@description: 设备监测数据
 */
@Data
@ApiModel(value = "DeviceMonitorVo" , description = "设备监测数据" )
public class DeviceMonitorVo {

    @ApiModelProperty(value = "就诊ID")
    private String visitId;

    @ApiModelProperty(value = "绑定ID")
    private String pdiId;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "FF=传感器没接/断开,00=传感器短路,01=温度<25°,02=温度>45°,03=环境温度<5°,04=环境温度>40°")
    private String monitorType;

    @ApiModelProperty(value = "当前电量")
    private Integer pmiElectricity;

    @ApiModelProperty(value = "当前温度")
    private Double pmiTemperature;

    @ApiModelProperty(value = "监测时间")
    private Date pmiTime;

    @ApiModelProperty(value = "已连续佩戴时长")
    private Long pmiDuration;
}
